Skip to content

修改订单金额(合作伙伴模式)

完结订单总金额与实际金额不符时,且当服务订单收款状态处于“待支付(USER_PAYING)”时,商户可通过该接口修改订单金额。 官方文档

js
wxpay
.
v3
.
payscore
.
partner
.
serviceorder
.
_out_order_no_
.
modify
.
post
({
service_id
,
sub_mchid
,
post_payments
,
post_discounts
,
total_amount
,
reason
,
}, {
out_order_no
})
.
then
(({
status
, }) =>
status
=== 204)

Released under the MIT License. (SITEMAP)